package com.company.service;

import com.company.dao.ContactDao;
import com.company.entity.Contacts;

;

public class ContactsService {
	private ContactDao contactDao;
	private Contacts contacts;

	public ContactDao getContactDao() {
		return contactDao;
	}

	public void setContactDao(ContactDao contactDao) {
		this.contactDao = contactDao;
	}

	public Contacts getContacts() {
		return contacts;
	}

	public void setContacts(Contacts contacts) {
		this.contacts = contacts;
	}

	public Contacts query() {
		return contactDao.query();
	}

	public void update(Contacts contacts) {
		contactDao.Update(contacts);
	}
}
